#ifndef WIDGETHORIZON_H
#define WIDGETHORIZON_H

#include <QtOpenGL>
#include <QGLWidget>
#include <QMouseEvent>
#include <QWheelEvent>
#include <QKeyEvent>
#include <GL/glut.h>
#include <cmath>


class SceneHorizon : public QWidget
{
    Q_OBJECT
public:
    explicit SceneHorizon(QWidget *parent = 0);
    
protected :
    void paintEvent(QPaintEvent *event);

signals:
    
public slots:
    void setAngle(float angle);

private :
    float angle_line;
    static const float PI = 3.14159265;
    
};

#endif // WIDGETHORIZON_H
